﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DryWCS.Model.SysConfig
{
    [SugarTable("Sys_Config")]
    public class ConfigModel
    {
        /// <summary>
        /// 序号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsNullable = false)]
        public int Id { get; set; }

        /// <summary>
        /// 参数名
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false)]
        public string ConfigName { get; set; }

        /// <summary>
        /// 参数值
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false)]
        public string ConfigValue { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false)]
        public string Description { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
